package com.ocom.common.entity.payconfig;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ocom.common.entity.base.EntityCardBase;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * dishes_class
 * @author 
 */
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "dishes_point")
@Data
public class EntityDishesPoint extends EntityCardBase implements Serializable {

    private static final long serialVersionUID = -5979795732638169761L;
    /**
     * 菜品分类编号，主键自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 单位编号
     */
    private Long comId;
    /**
     * 商户编号（0表示单位）
     */
//    private Integer merchId;


    private Date mealDate;
    private Integer mealNo;
    private Integer pointId;
    private Integer dishesId;
    private Integer priceMode;
    private Integer dishesPoint;


    @TableField(exist = false)
    private String dishesName;
    @TableField(exist = false)
    private String placeName;
    @TableField(exist = false)
    private String placeId;
}